package HomeWork.ooday003.Animals;

public class Fish extends Animal implements Swim{
    Fish(int age,String name,String color){
        super(age,name,color);
    }
    void eat(){
        System.out.println(name+"小鱼正在吃鱼饵...");
    }
    public void swim(){
        System.out.println(name+"小鱼会游泳...");
    }
}
